package com.chenye.generator;

/**
 * @Auther:chenye
 * @Data:2018/7/6
 * @Description:
 */
public class FruitGenerator implements Generator<String>{
    private String fruit;

    public FruitGenerator(String fruit) {
        this.fruit = fruit;
    }

    @Override
    public String get() {
        return fruit;
    }
}
